package com.fruit.constants;

public class GoodsContant {

	public enum State{
		UP("01"),
		DOWN("00");
		String value;
		State(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public boolean equals(String value){
			return this.value.equals(value);
		}
	}

	public enum Binding{
		YES("01"),
		NO("00"),
		PRE("02");
		String value;
		Binding(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public boolean equals(String value){
			return this.value.equals(value);
		}
	}
	
	public enum SaleType{
		YES("00"),
		NO("01");
		String value;
		SaleType(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public boolean equals(String value){
			return this.value.equals(value);
		}
	}
	
	//认养首页推荐位
	public static final String SEASONAL = "seasonal";
}
